import React, { useState, useEffect } from 'react';
import {
    Card,
    CardDescription,
    CardFooter,
    CardHeader,
    CardTitle,
} from "@/components/ui/card"
export default function ({ loginUser }) {
    return (
        <Card
            className="sm:col-span-2" x-chunk="dashboard-05-chunk-0"
        >
            <CardHeader className="pb-3">
                <CardTitle>
                    <div>Funds GPT</div>
                </CardTitle>
                <CardDescription className="max-w-lg text-balance leading-relaxed">
                    欢迎 {loginUser?.name || '-'}, 我是一个使用 AI 驱动的记账机器人
                </CardDescription>
            </CardHeader>
            <CardFooter>
                
            </CardFooter>
        </Card>
    )
}
